package com.weds.data_sync.advice.exception;

import com.weds.data_sync.constant.BizCodeEnum;
import lombok.Data;

/**
 * @Description 业务异常
 * @Author lihw
 * @Date 2024/1/5 14:38
 */
@Data
public class BizCodeException extends RuntimeException {

    private BizCodeEnum bizCodeEnum;

    public BizCodeException(BizCodeEnum bizCodeEnum) {
        this.bizCodeEnum = bizCodeEnum;
    }

}
